<?php

/**
 * User form.
 *
 * @package    Librarie
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class UserForm extends BaseUserForm
{
	public function configure()
	{
		$this->useFields(array('user_name','pws'));

		$this->widgetSchema['user_name'] = new sfWidgetFormInputText(array('label' => 'Username',));
		$this->widgetSchema['pws'] = new sfWidgetFormInputPassword(array('label' => 'Password',));

		//$this->validatorSchema['user_name'] = new sfValidatorString(array('max_length' => 255, 'required' => true));
      	//$this->validatorSchema['pws'] = new sfValidatorString(array('max_length' => 255, 'min_length' => 6, 'required' => true));

	}
}
